home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
ubfile17.zip
/
FIXDATA.DOC
next >
Wrap
Text File
|
1991-07-20
|
1KB
|
19 lines
This is a little program to fix any errors caused by the Text file import
in UBFILE15. If you have a problem with files that are in the database but
can not be found by the BBS then try running this program. After you have
run it then pack the filebase to create new index files.
Have fixdata.exe in the same directory as your filebase.dat file and just
type the filename. There are no pretty pictures or any other indication
that the program is running other than your hard drive light flashing.
Make sure you backup the filebase.dat file before running fixdata.
All the program does is read the data file, strip out any spaces in the
filename, and converts them to null charactors. The problem arises because
"C" strings (arrays of CHAR) need a Null at the end of the string. If there
is a space between the end of the filename and the null then the space is
included in the filename. I imported in hundreds of files and only found
about 20 that had this problem. I have had a 2 reports of ex Remote Access
sysops who have imported their Files.BBS having this problem. Version 1.6
of Ubfile should prevent this error from happening.